<%-- 
    Document   : SalesReport
    Created on : Dec 7, 2011, 3:20:52 AM
    Author     : Michael
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% if(session.getAttribute("LoggedIn")==null)
       {
    response.sendRedirect("index.html");
    return;
        }

%>
<%  
    int i = Integer.parseInt(request.getParameter("TYPE"));
    if(i==0)
        response.sendRedirect("Reports/monthly.jsp");
    if(i==1)
        response.sendRedirect("AdvertisementList.jsp");
    if(i==2)
        response.sendRedirect("TransactionList.jsp");
    if(i==3)
        response.sendRedirect("Reports/revenue.jsp");
    if(i==4)
        response.sendRedirect("Reports/active.jsp");
    if(i==5)
        response.sendRedirect("Reports/companies.jsp");
%>
